const request = require('request');
const iconv = require('iconv-lite');

request.post({
    url: 'http://127.0.0.1:3000/api/users',
    body: {
        name: '刘月'
    },
    headers: {
        'Content-Type': 'application/json; charset=GBK'
    }
}, (err, response, body)=>{
    console.log('请求成功');
    console.log(body);
});